//
//  PlasticMaterial.hpp
//  RayTracer
//
//  Created by 俞云康 on 3/26/16.
//  Copyright © 2016 yushroom. All rights reserved.
//

#ifndef PlasticMaterial_hpp
#define PlasticMaterial_hpp

#include "Material.hpp"

class PlasticMaterial : public Material {
private:
    Color kd;
    Color ks;
    float roughness;
public:
    PlasticMaterial(const Color& kd, const Color& ks, const float roughness);

    static shared_ptr<Material> create(const Params& params);

    //virtual std::shared_ptr<BxDF> get_brdf(const HitInfo& hit) const override;
    
    virtual shared_ptr<BSDF> getBSDF(const HitInfo& hit) const override;
};

#endif /* PlasticMaterial_hpp */
